package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.RewardAndPunishDao;
import com.prs.crm.domain.person.RewardAndPunish;

public class RewardAndPunishDaoImpl extends BaseDaoImpl<RewardAndPunish> implements RewardAndPunishDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<RewardAndPunish> getAllRewardAndPunish() {
		Criteria criteria= this.getSession().createCriteria(RewardAndPunish.class);
		return criteria.list();
	}

}
